﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace PubSubGeneric
{
    public interface ISubscriptionInfo 
    {
    }

    public interface ISubscriptionInfo<T> : ISubscriptionInfo
    {
        ISubscriber<T> Subscriber { get; set; }
         Expression<Func<T, bool>> Predicate { get; set; }
         Func<T, bool> CompiledPredicate { get; }
    }
}
